package pt.fct.mpc.lastfm.album;

import java.io.Serializable;
import java.util.List;
import java.util.Vector;

public class AlbumData implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8061555602379796545L;
	private String name = "";
	private String artist = "";
	private String id = "";
	private String mbid = "";
	private String release_date = "";
	private String image_small = "";
	private String image_medium = "";
	private String image_large = "";
	private String image_extralarge = "";
	private List<String> tags = new Vector<String>();
	private List<TrackData> tracks = new Vector<TrackData>();
	private String summary = "";
	private String content = "";
	private boolean contentParsed;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name += name;
	}
	public String getArtist() {
		return artist;
	}
	public void setArtist(String artist) {
		this.artist += artist;
	}
	public String getRelease_date() {
		return release_date;
	}
	public void setRelease_date(String releaseDate) {
		release_date += releaseDate;
	}
	public String getImage_small() {
		return image_small;
	}
	public void setImage_small(String imageSmall) {
		image_small += imageSmall;
	}
	public String getImage_medium() {
		return image_medium;
	}
	public void setImage_medium(String imageMedium) {
		image_medium += imageMedium;
	}
	public String getImage_large() {
		return image_large;
	}
	public void setImage_large(String imageLarge) {
		image_large += imageLarge;
	}
	public String getImage_extralarge() {
		return image_extralarge;
	}
	public void setImage_extralarge(String imageExtralarge) {
		image_extralarge += imageExtralarge;
	}
	public List<String> getTags() {
		return tags;
	}
	public void setTags(List<String> tags) {
		this.tags = tags;
	}
	public void addTag(String tag) {
		this.tags.add(tag);
	}
	public List<TrackData> getTracks() {
		return tracks;
	}
	public void setTracks(List<TrackData> tracks) {
		this.tracks = tracks;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary += summary;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content += content;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id += id;
	}
	public String getMbid() {
		return mbid;
	}
	public void setMbid(String mbid) {
		this.mbid += mbid;
	}
	public void setAlbumInfo(AlbumData parsedData) {
		this.id = parsedData.getId();
		this.mbid = parsedData.getMbid();
		this.release_date = parsedData.getRelease_date();
		this.image_extralarge = parsedData.getImage_extralarge();
		this.image_large = parsedData.getImage_large();
		this.image_medium = parsedData.getImage_medium();
		this.image_small = parsedData.getImage_small();
		this.summary = parsedData.getSummary();
		this.content = parsedData.getContent();
	}
	public void setContentParsed(boolean contentParsed) {
		this.contentParsed = contentParsed;
	}
	public boolean isContentParsed() {
		return contentParsed;
	}
}
